import axios from 'axios';

axios.defaults.baseURL='http://192.168.99.38:3000';

axios.interceptors.response.use((res)=>{
  return res.data
});

export let getData = ()=>{
  return axios.get('/data')
};

export let getCity = ()=>{
  return axios.get('/list')
};
